package com.bbz.core.lambda.java8.Chapter_8_Refactoring;

/**
 * 模板方法
 */
abstract class OnlineBanking {
    /**
     * 传统模式
     * @param id
     */
    public void processCustomer(int id){
        String userName=id+"bbz";
        makeCustomerHappy(userName);
    }
    abstract void makeCustomerHappy(String userName);

}
